import Vue from 'vue'
import App from './App.vue'
import store from '@/store/index.js'
import router from '@/router/index.js'
import VueResource from 'vue-resource'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import * as service from '@/api/index'
import { postMessage } from '@/utils/poseMessage'
import "./assets/css/swiper.min.css"
import './assets/css/init.css'

Vue.use(VueAwesomeSwiper);

Vue.use(VueResource)

Vue.config.productionTip = false

// import 'lib-flexible'
Vue.config.productionTip = false

Vue.prototype.$base = 2

Vue.prototype.$service = service

Vue.prototype.$postMessage = postMessage

new Vue({
  store,
  router,
  render: h => h(App),
}).$mount('#app')
